package com.example.servicedemo;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.util.Log;

public class ServiceDemo extends Service {

	private static final String TAG = "ServiceDemo";
	public static final String ACTION = "com.example.servicedemo.ServiceDemo";

	@Override
	public IBinder onBind(Intent arg0) {
		Log.d(TAG, "ServiceDemo onBind");
		return null;
	}

	@Override
	public void onCreate() {
		Log.d(TAG, "ServiceDemo onCreate");
		super.onCreate();
	}
	
    @Override  
    public void onStart(Intent intent, int startId) {  
        Log.d(TAG, "ServiceDemo onStart");  
        super.onStart(intent, startId);  
    }  
    
    @Override  
    public int onStartCommand(Intent intent, int flags, int startId) {  
        Log.d(TAG, "ServiceDemo onStartCommand");  
        return super.onStartCommand(intent, flags, startId);  
    }  

}
